
import React from 'react'
import { NavBar, Icon } from 'antd-mobile';
import { NavLink } from 'react-router-dom'
import creatHistory from 'history/createHashHistory'
const history = creatHistory();
class newWrap extends React.Component {

    render() {
        return (

            <div className='top-nav-back'>
                <NavBar
                    mode="light"
                    icon={<Icon type="left" />}
                    onLeftClick={() => history.goBack()}

                >选择地址</NavBar>
                <NavLink className='right-top-btn ' to='/Home/Addsite'>新增地址</NavLink>
            </div>


        )
    }
}



export default newWrap